<include file="Public:header"/>
<body>
<div class="headk">
    <div class="head">
        <div class="floatleft">您好<a href="__MODULE__/Usercenter/index"><b style="color:red;">{$_SESSION["username"]}</b></a>，欢迎来到金蚂蚁装修网！<span>{$data}<a href="{:U('Home/City/index')}">【切换】</a></span></div>
        <div class="floatright">
        <?php
if($_SESSION["bid"]){?>
   <a href="__MODULE__/Usercenter/index"><b style="color:red;">进入个人中心</b></a> | <a href="__MODULE__/Com/layout">注销</a>
<?php }else{ ?>
<!--<a href="{:U('Home/Login/index')}">您还未登陆,点击登陆</a>-->
<!--<?php }?>-->
            <!--|<a href="{:U('Home/Register/ownreg')}">个人注册</a>|<a href="{:U('Home/Register/comreg')}">装修公司注册</a>-->
            <!--|<a href="{:U('Zxwd/index')}">装修问答</a>|-->
            <span>服务热线:400-0606-129</span>
        </div>
    </div>
</div>
<div class="topbigdiv" bigheight="132" smallheight="103">
    <div class="top">
        <div class="logo">
            <a href="http://www.zxjmy.com">
                <img src="__PUBLIC__/images/logo.png"
                        height="90">
            </a>
        </div>
       <include file="Public:read"/>
    </div>
</div>
<div class="topbigdivbg"></div>

<div class="zgs_header">
    <div class="zgsh_center">
        <div class="zgshc_company">
            <span class="zc_bg">
                <img alt="{$arr.cname}" src="__PUBLIC__/Upload/{$arr.imagename}">
            </span>
            <div class="zd_name">
                <h1>  {$arr.cname}</h1>
                <p>口碑值 <a href="">{$arr.koubei}</a></p>
            </div>
            <div class="zd_qualification">
                <dl>
                    <dd>
                        <i class="zdq_3" title="该公司营业执照已认证"> </i>
                        <i class="zdq_4" title="认证公司"></i>
                        <i class="zdq_5_no"></i>
                        <span title="该公司已缴纳20000.00元保障金">
                            <i class="zdq_2"></i> <em></em></span>
                    </dd>
                </dl>
            </div>
            <div id="weixin_container"></div>
        </div>
    </div>
    <div class="zgsh_bottom">
        <div class="zgshb_menu">
            <ul id="pic_list">
                <li>
                    <a href="{:U('Company/detail',array('id'=>$arr['id']))}">首页</a>
                </li>
                <li>
                    <a href="{:U('Company/introduction',array('id'=>$arr['id']))}">公司介绍</a>
                </li>

                <li class="on">
                    <a href="{:U('Company/visit',array('id'=>$arr['id']))}">装修工地</a>
                </li>

                <li>
                    <a href="{:U('Company/design',array('id'=>$arr['id']))}">设计团队</a>
                </li>
                <li>
                    <a href="{:U('Company/zixun',array('id'=>$arr['id']))}">公司资讯</a>
                </li>
            </ul>
            <a href="javascript:void(0)" class="zgs_freeDesignAndPrice">
                <label>预约热线</label>
                400-0606-129 <b></b>
            </a>
        </div>
    </div>
</div>
<div class="company-shop-bg">
    <div class="company-shop-wrap">
        <div class="designer-summary clearfix">
            <div class="summary-l fl">
                <h3 class="tit">公司介绍</h3>

                <p class="company-intro">

                        <a href="">
                            <?php
                            $str=$arr['content'];
                            preg_match_all('/[\x{4e00}-\x{9fff}]+/u', $str, $matches);
                            $str = join('', $matches[0]);
                            echo $str;?>
                        </a>

                </p>
                <ul class="nums-ul clearfix">
                    <li class="line">
                        <a href="">
                            0 <br> 设计师
                        </a>
                    </li>
                    <li class="line">
                        <a href="">
                            0
                            <br> 工地
                        </a>
                    </li>
                    <li>
                        <a href="">
                            0 <br> 资讯
                        </a>
                    </li>


                </ul>
                <div class="btns clearfix">
                    <span class="apply-btn ">免费设计</span>
                    <span class="apply-btn ">免费报价</span>
                </div>
            </div>
            <div id="focus" class="summary-pic fl clearfix">
                <ul>
                    <li>
                        <a href="">
                            <img src="https://front.tobosu.com/res/company/images/01.png?v=1521788981">
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="https://front.tobosu.com/res/company/images/02.png?v=1521788981">
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="https://front.tobosu.com/res/company/images/03.png?v=1521788981">
                        </a>
                    </li>
                </ul>
                <div class="btn"><span class="on"></span><span class=""></span><span class=""></span></div>
            </div>
            <div class="summary-r fr clearfix">



                <div class="favour"
                     style="background: url(https://front.tobosu.com/static/company/images/favour_default.jpg?v=1521788981)">

                </div>
                <p class="tip">该公司支持免费上门量房设计及报价<br>您不需要支付任何费用</p>
                <p class="apply-btn immediate-app-btn">立刻申请</p>
            </div>
        </div>
        <div class="design_team">
            <div class="team_title">
                <span class="team_txt">设计团队</span>
                <span class="plan_num1"></span>
                <a href="/zs/team804636/" class="order_more" target="_blank" rel="nofollow">更多<span class="gt_gray">&gt;</span></a>
            </div>
            <div class="team_list">

                <ul class="clearfix">
                    <foreach name="arr2" item="v">

                        <li>
                            <div class="designer_pic1">
                                <a href="" target="_blank"><img src="__PUBLIC__/Upload/{$v.imagename}" alt="吴伟峰" width="100" height="100"></a>
                                <div class="shade"></div>
                                <div class="designer_cov">
                                </div>

                            </div>
                            <p class="designer_name1"><a href="" target="_blank">{$v.name}</a></p>
                            <p class="job_title"><a href="" target="_blank">{$v.zhiwei}</a></p>
                        </li>
                    </foreach>
                </ul>
            </div>
        </div>
        <div class="site">
            <div class="team_title">
                <span class="team_txt">装修工地</span>
                <span class="plan_num1"></span>
                <a class="order_more" href="" target="_blank" rel="nofollow">更多<span class="gt_gray">&gt;</span></a>
            </div>
            <ul class="case_list">
                <foreach name="arr1" item="v">
                    <li>
                        <div class="case_main clearfix">
                            <div class="case_pics">
                                <a href="{:U('Company/visit_about',array('id'=>$v['id'],'gid'=>$v['gid']))}" target="_blank" rel="nofollow"><img src="__PUBLIC__/Upload/{$v.imagename}" alt="{$v.gname}" width="200" height="200"></a>
                            </div>
                            <div class="case_details">
                                <div class="case_name">
                                    <a href="{:U('Company/visit_about',array('id'=>$v['id'],'gid'=>$v['gid']))}" class="case_details_name">{$v.yezhu}</a>
                                    <!-- <span class="case_check"><em>365</em>人已查看</span>-->
                                </div>
                                <div class="case_tag clearfix">
                                    <span>{$v.s_city}</span>
                                    <span>{$v.gname}</span>
                                    <span>{$v.price}</span>
                                    <span> <?php if($v['overstatus']==0){?>半包<?php }else{ ?>全包<?php } ?></span>
                                    <span>{$v.area}m²</span>
                                    <span>{$v.style}</span>
                                </div>
                                <div class="case_progress">
                                    <ul class="clearfix">
                                        <?php if($v['overstatus']==1){?>
                                        <li class="on_li"><em class="progress_dot"></em>准备开工</li>
                                        <li><em class="progress_dot"></em>水电阶段</li>
                                        <li><em class="progress_dot"></em>泥木阶段</li>
                                        <li><em class="progress_dot"></em>油漆阶段</li>
                                        <li><em class="progress_dot"></em>竣工阶段</li>
                                        <?php }else if($v['overstatus']==2){?>
                                        <li><em class="progress_dot"></em>准备开工</li>
                                        <li class="on_li"><em class="progress_dot"></em>水电阶段</li>
                                        <li><em class="progress_dot"></em>泥木阶段</li>
                                        <li><em class="progress_dot"></em>油漆阶段</li>
                                        <li><em class="progress_dot"></em>竣工阶段</li>
                                        <?php }else if($v['overstatus']==3){?>
                                        <li><em class="progress_dot"></em>准备开工</li>
                                        <li><em class="progress_dot"></em>水电阶段</li>
                                        <li class="on_li"><em class="progress_dot"></em>泥木阶段</li>
                                        <li><em class="progress_dot"></em>油漆阶段</li>
                                        <li><em class="progress_dot"></em>竣工阶段</li>
                                        <?php }else if($v["overstatus"]==4){?>
                                        <li><em class="progress_dot"></em>准备开工</li>
                                        <li><em class="progress_dot"></em>水电阶段</li>
                                        <li><em class="progress_dot"></em>泥木阶段</li>
                                        <li class="on_li"><em class="progress_dot"></em>油漆阶段</li>
                                        <li><em class="progress_dot"></em>竣工阶段</li>
                                        <?php }else if($v["overstatus"]==5){?>
                                        <li><em class="progress_dot"></em>准备开工</li>
                                        <li><em class="progress_dot"></em>水电阶段</li>
                                        <li><em class="progress_dot"></em>泥木阶段</li>
                                        <li><em class="progress_dot"></em>油漆阶段</li>
                                        <li class="on_li"><em class="progress_dot"></em>竣工阶段</li>
                                        <?php } ?>

                                    </ul>

                                </div>
                            </div>
                            <input class="case_btn" type="submit" value="免费预约参观">
                        </div>
                    </li>
                </foreach>

            </ul>
        </div>
        <div class="message">
            <div class="team_title">
                <span class="team_txt">公司资讯</span>
                <span class="plan_num1"></span>
                <a class="order_more" href="" target="_blank" rel="nofollow">更多<span class="gt_gray">&gt;</span></a>
            </div>
            <div class="list-box">
                <ul>
                    <foreach name="arr3" item="v">
                        <li>
                            <!--<div class="img-box">-->
                                <!--<div class="recommond-icon"></div>-->
                                <!--<a target="_blank" href="" rel="nofollow">-->
                                    <!--<img width="140" height="140" src="__PUBLIC__/images/{$v.s_city}" alt="新房验房注意事项(详细步骤教你如何验房)">-->
                                <!--</a>-->
                            <!--</div>-->

                            <div class="list-item-right">
                                <div class="list-item-title">
                                    <a target="_blank" href="{:U('Company/zixun_about',array('id'=>$v['id'],'pid'=>$v['pid']))}">{$v.title}</a></div>
                                <div class="list-item-summary"><?php
                            $str=$v['content'];
                            preg_match_all('/[\x{4e00}-\x{9fff}]+/u', $str, $matches);
                            $str = join('', $matches[0]);
                            echo $str;?><span><a rel="nofollow" target="_blank" href="">...[更多]</a></span></div>
                                <div class="list-item-info-bar">

                                    <div class="info-bar-right">
                                        <?php echo date("Y-m-d H:i:s",$v["addtime"]); ?>				</div>
                                </div>
                            </div>
                            <div class="clear-div"></div>
                        </li>
                    </foreach>


                </ul>
            </div>
        </div>
    </div>

</div>
<script>

    var company={
        init:function(){
            this.changePic()
        },
        changePic: function() {
            for (var t, a = this, i = $("#focus").width(), o = $("#focus ul li").length, n = 0, e = "<div class='btn'>", s = 0; s < o; s++) e += "<span></span>";
            $("#focus").append(e), $("#focus .btn span").mouseover(function() {
                n = $("#focus .btn span").index(this), a.showPics(n, i)
            }).eq(0).trigger("mouseover"), $("#focus ul").css("width", i * o), $("#focus").hover(function() {
                clearInterval(t)
            }, function() {
                t = setInterval(function() {
                    a.showPics(n, i), ++n == o && (n = 0)
                }, 4e3)
            }).trigger("mouseleave")
        },
        showPics: function(t, a) {
            var i = -t * a;
            $("#focus ul").stop(!0, !1).animate({
                left: i
            }, 300), $("#focus .btn span").removeClass("on").eq(t).addClass("on")
        }
    }
    $(function(){
        company.init()
    })

</script>
<include file="Public:foot"/>